<?php

	$url=$_POST["url"];
	if(isset($url))
	{
	$xml=new xmlLibrary();
	//$xml->CreateXHTML($url,"vnxpress.xml");
	nodeview($alo,1,'');
	}
$treedom ='<div>
<form name="form1" method="post" action="">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="8%">Url: </td>
      <td width="57%"> 
      <input name="url" type="text" id="url" value="'.$_POST['url'].'" size="25"></td>
      <td width="35%"><input type="submit" name="button" id="button" value="Tạo treedom"></td>
    </tr>
	</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td colspan="3"><a href="index.php?nv=getnews&login=true">Đăng nhập</a></td>';
?>
<?php
	if($_REQUEST['login']=='true')
	$treedom.='
      </tr>
    <tr>
      <td>UserName:</td>
      <td>
        <input type="text" name="username" id="username" /></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>PassWord:</td>
      <td>
        <input name="password" type="text" id="password" size="20" /></td>
      <td>&nbsp;</td>
    </tr>
	';
?>
<?php
$treedom.='</table>
</form>
<div>'.$treedomMain.'</div>
</div>';
?>